<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?$APPLICATION->ShowHead();?>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="shortcut icon" href="favicon.png">
<title><?=iconv("utf-8","cp1251","НаукаСна. Магазин постельного белья.");?></title>
<link href="/bitrix/templates/naukasna-inner/css/reset.style.css" rel="stylesheet" type="text/css" />
<link href="/bitrix/templates/naukasna-inner/css/style.css" rel="stylesheet" type="text/css" />
<link href="/bitrix/templates/naukasna-inner/css/colorbox.css" rel="stylesheet" type="text/css" />

<link rel="icon" href="<?=SITE_TEMPLATE_PATH?>/images/favicon.png" type="image/x-icon" />

<script type="text/javascript" src="http://code.jquery.com/jquery-1.6.1.min.js"></script>
<script type="text/javascript" src="<?=SITE_TEMPLATE_PATH?>/js/jquery.timers.js"></script>
<script type="text/javascript" src="<?=SITE_TEMPLATE_PATH?>/js/jquery.colorbox.js"></script>
<script type="text/javascript" src="<?=SITE_TEMPLATE_PATH?>/js/colorbox.js"></script>
<script type="text/javascript" src="<?=SITE_TEMPLATE_PATH?>/js/cufon-yui.js"></script>
<script type="text/javascript" src="<?=SITE_TEMPLATE_PATH?>/js/Myriad_Pro.js"></script>
<script type="text/javascript">
   Cufon.replace('.ot-do');
   Cufon.replace('.price');
</script>
<script type="text/javascript" src="<?=SITE_TEMPLATE_PATH?>/js/resize.js"></script>
<script type="text/javascript" src="<?=SITE_TEMPLATE_PATH?>/js/city.js"></script>
<script type="text/javascript" src="<?=SITE_TEMPLATE_PATH?>/js/emarket.js"></script>



</head>

<body>
<div id="panel"><?$APPLICATION->ShowPanel();?></div>
    <div id="top-head">
    	<div class="resize">
        	<div class="wrapper">
  		          
                 <? $APPLICATION->IncludeComponent("bitrix:main.include", "", array("AREA_FILE_SHOW" => "file", "PATH" => SITE_DIR."include/topmenu.php"), false);?>
                 <? $APPLICATION->IncludeComponent("bitrix:main.include", "", array("AREA_FILE_SHOW" => "file", "PATH" => SITE_DIR."include/online_chat_tpl.php"), false);?>
                 <? $APPLICATION->IncludeComponent("bitrix:main.include", "", array("AREA_FILE_SHOW" => "file", "PATH" => SITE_DIR."include/login.php"), false);?>
            </div>
        </div>
    </div>
    
    <div id="head">
    	<div class="resize">
            <div  id="girl">
                <div class="wrapper">
                    <? $APPLICATION->IncludeComponent("bitrix:main.include", "", array("AREA_FILE_SHOW" => "file", "PATH" => SITE_DIR."include/company_logo.php"), false);?>
                    <div class="right-head">
                        <div id="zvezda">
                            <? $APPLICATION->IncludeComponent("bitrix:main.include", "", array("AREA_FILE_SHOW" => "file", "PATH" => SITE_DIR."include/city.php"), false);?>
                            <? $APPLICATION->IncludeComponent("bitrix:main.include", "", array("AREA_FILE_SHOW" => "file", "PATH" => SITE_DIR."include/search.php"), false);?>
                             
                        </div>                  
                    </div>
                    <div class="call-block">
                        <?$APPLICATION->IncludeComponent("bitrix:main.include", "", array("AREA_FILE_SHOW" => "file", "PATH" => SITE_DIR."include/call.php"), false);?>
                     </div>
                     
                </div>
                <div id="emarket">
                    <div id="basketshow" class="emarket">
                        <?$APPLICATION->IncludeComponent("bitrix:main.include", "", array("AREA_FILE_SHOW" => "file", "PATH" => SITE_DIR."include/basket.php"), false);?>
                    </div>
                </div>
           </div>
       </div>        			
    </div>

<div id="wrap">
	
 <?
$acurdir=$APPLICATION->GetCurDir();
$acurpage=$APPLICATION->GetCurPage();
 ?>
 
    <div id="main">
    	<div class="resize">
        	<div class="wrapper">
                <div class="left margin-top">
                    <div id="menu">
                    	<?$APPLICATION->IncludeComponent("bitrix:main.include", "", array("AREA_FILE_SHOW" => "file", "PATH" => SITE_DIR."include/leftmenu.php"), false);?>
                            

                     <? if ($acurdir!="/"):?>
                     	<hr />
                        <div class="news">
                       	 	<?$APPLICATION->IncludeComponent("bitrix:main.include", "", Array( 	"AREA_FILE_SHOW" => "file", "PATH" => SITE_DIR."include/news.php", 	), 	false );?> 
                        </div>
                     <? else:?>
                     	<hr />
                     	<div class="news">
                        	<?$APPLICATION->IncludeComponent("bitrix:main.include", "", Array( 	"AREA_FILE_SHOW" => "file", "PATH" => SITE_DIR."include/news.php", 	), 	false );?>
                        </div>
                        <!---
                        <hr>
                        <div class="prodject">
                            <h3><a href="#">Новые проекты</a></h3>
                            <div><a href="#">Заказ фотографии вручения</a></div>
                            <div><a href="#">Аксессуары к букетам</a></div>
                            <div><a href="#">Скидка 35% постоянным клиентам</a></div>
                            <div><a href="#">Ускоренная доставка</a></div>
                        </div>
                        ---->
                     <? endif?>
                    </div>
                </div><!-- END left -->
                
                

    <? if($acurdir!="/"): ?>
            <div class="center-main">
    <? endif;
            
	if(    ($acurdir!="/") && ( strpos($acurdir,"/personal/")===false ) &&
			 ($acurpage!="/catalog/top.php") && ( strpos($acurdir,"/search/")===false ) && ( strpos($acurdir,"/lostpasswd/")===false ) && 
			 ( strpos($acurdir,"/register/")===false ) ):
			 
			 		$APPLICATION->IncludeComponent("bitrix:main.include", "", array(
											"AREA_FILE_SHOW" => "file",
											"PATH" => SITE_DIR."include/navi.php"
											),
											false,
											array(
											"ACTIVE_COMPONENT" => "Y"
											)
										);?>
	<? else:?>
		<br />
	<? endif;?>
            
            